home *** CD-ROM | disk | FTP | other *** search
- *** ./anlgform.c Sun Jun 14 09:05:26 1998
- --- ../analog3.0/./anlgform.c Tue Aug 25 19:06:44 1998
- ***************
- *** 1,7 ****
- /* anlgform.c 3.0 -- a cgi front end for analog */
-
- /* You must uncomment the next line, and put where the analog executable is */
- ! /* #define ANALOG "/usr/local/etc/httpd/analog/analog" */
-
- #include <string.h>
- #include <ctype.h>
- --- 1,7 ----
- /* anlgform.c 3.0 -- a cgi front end for analog */
-
- /* You must uncomment the next line, and put where the analog executable is */
- ! #define ANALOG "/usr/freeware/bin/analog"
-
- #include <string.h>
- #include <ctype.h>
- *** ./Makefile Mon Jun 15 10:57:00 1998
- --- ../analog3.0/./Makefile Tue Aug 25 19:06:44 1998
- ***************
- *** 1,14 ****
- # Makefile for analog 3.0
- # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
- ! CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
- # compilers need different CFLAGS, e.g., -O instead of -O2.
- ! CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
- # HP/UX cc needs -Aa
- # Some Linuces might need -I/usr/src/linux/include
- ! DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
- OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
- # RISCOS, BEOS, BS2000
- ! LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
- # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
- # IRIX reportedly needs LIBS = -lc
- # OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
- --- 1,14 ----
- # Makefile for analog 3.0
- # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
- ! #CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
- # compilers need different CFLAGS, e.g., -O instead of -O2.
- ! #CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
- # HP/UX cc needs -Aa
- # Some Linuces might need -I/usr/src/linux/include
- ! #DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
- OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
- # RISCOS, BEOS, BS2000
- ! #LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs
- # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
- # IRIX reportedly needs LIBS = -lc
- # OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD
- ***************
- *** 26,31 ****
- --- 26,35 ----
- # Form interface options:
- FORMPROG = anlgform.cgi # The program that processes the data from the form
- FORMSRC = anlgform.c # The source code for that program
- +
- + # SGI Freeware -- added master target
- + TARGETS = $(PROGRAM) $(FORMPROG)
- + all: $(TARGETS)
-
- $(PROGRAM): $(OBJS) $(HEADERS) Makefile
- $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
- *** ./analhead.h Sun Jun 14 09:05:08 1998
- --- ../analog3.0/./analhead.h Tue Aug 25 19:11:15 1998
- ***************
- *** 18,25 ****
- --- 18,33 ----
- /* the URL of your host's home page, for linking to at the top of the
- output; use "none" for no linking. */
-
- + /*
- #define HTTPDIR "/usr/local/etc/httpd/"
- #define ANALOGDIR HTTPDIR"analog/"
- + */
- + /*** SGI Freeware ***/
- + #define HTTPDIR "/usr/freeware/apache/"
- + #define ANALOGSHAREDIR "/usr/freeware/share/analog/"
- + #define ANALOGETCDIR "/usr/freeware/etc/"
- + #define ANALOGVARDIR "/var/tmp/"
- +
- /* The directories where your HTTP stuff lives and where your analog stuff
- lives. You don't really need these; they are just used in this file to
- build up other filenames. Note how you can stick together names by
- ***************
- *** 26,47 ****
- --- 34,75 ----
- just putting them next to each other; e.g., ANALOGDIR is defined as
- HTTPDIR"analog/", which becomes "/usr/local/etc/httpd/analog/" */
-
- + /*
- #define DOMAINSFILE ANALOGDIR"domains.tab"
- + */
- + /*** SGI Freeware ***/
- + #define DOMAINSFILE ANALOGSHAREDIR"domains.tab"
- /* the file where the domain definitions live; see docs/domfile.html */
-
- + /*
- #define LOGFILE HTTPDIR"logs/access_log"
- + */
- + /*** SGI Freeware ***/
- + #define LOGFILE HTTPDIR"var/log/access_log"
- /* The name of the default logfile. Can be a list, separated by commas
- (but no spaces), and can include wild cards. */
-
- + /*
- #define IMAGEDIR "images/"
- + */
- + /*** SGI Freeware ***/
- + #define IMAGEDIR ANALOGSHAREDIR"images/"
- /* URL of the directory where the images for the graphical reports live.
- The URL can be absolute, or relative to the output page: e.g., just the
- empty string "" for the same directory as the output page. */
-
- + /*
- #define LANGDIR ANALOGDIR"lang/"
- + */
- + /*** SGI Freeware ***/
- + #define LANGDIR ANALOGSHAREDIR"lang/"
- /* Directory where the language files live. */
-
- + /*
- #define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
- + */
- + /*** SGI Freeware ***/
- + #define DEFAULTCONFIGFILE ANALOGETCDIR"analog.cfg"
- /* the name of the default configuration file; see README.html for a
- description of this file. Use "none" for no configuration file. */
-
- ***************
- *** 90,96 ****
- /* The file for cache input. Again, can be "none". */
-
- #ifndef NODNS
- ! #define DNSFILE ANALOGDIR"dnscache"
- /* where to store resolved addresses so we don't have to look them up next
- time */
-
- --- 118,124 ----
- /* The file for cache input. Again, can be "none". */
-
- #ifndef NODNS
- ! #define DNSFILE ANALOGVARDIR"dnscache"
- /* where to store resolved addresses so we don't have to look them up next
- time */
-
-